package work.mediway.mdm.biz.mapper.biz;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import org.apache.ibatis.annotations.Param;

import java.util.List;

import work.mediway.mdm.biz.vo.biz.SsTablePermVO;
import work.mediway.mdm.biz.dto.biz.SsTablePermDTO;
import work.mediway.mdm.biz.entity.biz.SsUserLinkTable;

public interface SsUserLinkTableMapper extends BaseMapper<SsUserLinkTable> {

    /**
     * 查询字段权限信息
     *
     * @param page              Page<SsFieldTablePermVO>
     * @param tablePermDTO SsFieldTablePermDTO
     * @return List<SsFieldTablePermVO>
     */
    List<SsTablePermVO> listTablePerm(Page<SsTablePermVO> page, @Param("tablePermDTO") SsTablePermDTO tablePermDTO);
}